package com.tuling.code.algorithm.loadbalance.complex;

public class Server {
	private String ip;
	private int weight;

	public Server(String ip, int weight) {
		super();
		this.ip = ip;
		this.weight = weight;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public int getWeight() {
		return weight;
	}

	public void setWeight(int weight) {
		this.weight = weight;
	}

}
